﻿@model VehicleManagement.Models.AddGas

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>AddGas</legend>

    <div class="display-label">CarID</div>
    <div class="display-field">@Model.CarID</div>

    <div class="display-label">DriverID</div>
    <div class="display-field">@Model.DriverID</div>

    <div class="display-label">Driver_name</div>
    <div class="display-field">@Model.Driver_name</div>

    <div class="display-label">Gas_Date</div>
    <div class="display-field">@String.Format("{0:g}", Model.Gas_Date)</div>

    <div class="display-label">InvoiceNo</div>
    <div class="display-field">@Model.InvoiceNo</div>

    <div class="display-label">Gas_Name</div>
    <div class="display-field">@Model.Gas_Name</div>

    <div class="display-label">Gas_Type</div>
    <div class="display-field">@Model.Gas_Type</div>

    <div class="display-label">Price</div>
    <div class="display-field">@String.Format("{0:F}", Model.Price)</div>

    <div class="display-label">Num</div>
    <div class="display-field">@String.Format("{0:F}", Model.Num)</div>

    <div class="display-label">Cost</div>
    <div class="display-field">@String.Format("{0:F}", Model.Cost)</div>

    <div class="display-label">Approval</div>
    <div class="display-field">@Model.Approval</div>

    <div class="display-label">Distance</div>
    <div class="display-field">@String.Format("{0:F}", Model.Distance)</div>

    <div class="display-label">GasSta_Name</div>
    <div class="display-field">@Model.GasSta_Name</div>

    <div class="display-label">Remark</div>
    <div class="display-field">@Model.Remark</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


